<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景位置方位名词应用一</title>
    <style>
        div {
            width: 150px;
            height: 40px;
            color: rgb(225, 220, 220);
            background-color: rgb(21, 20, 21);
            background-image: url(images/login.webp);
            background-repeat: no-repeat;
            background-position: left center;
            text-indent: 3em;
            line-height: 40px;
            font-size: 16px;
        }
    </style>
</head>

<body>
    <div>欢迎登陆</div>
</body>

</html>